Skip to content

Important update in Apr 2026#134

Merged
xueweic merged 17 commits intoStatFunGen:mainfrom
xueweic:main
Apr 22, 2026
Merged

Important update in Apr 2026#134
xueweic merged 17 commits intoStatFunGen:mainfrom
xueweic:main

Conversation

@xueweic
Copy link
Copy Markdown
Collaborator

@xueweic xueweic commented Apr 2, 2026

Add X_ref parameter and integration improvements

1. New feature: X_ref — memory-efficient LD handling

When the number of variants (P) is large, storing the full P × P LD matrix can exceed available memory. Users can now provide a reference panel genotype matrix (X_ref, dimension N_ref × P) directly, and ColocBoost will compute LD products on the fly without materializing the full correlation matrix. Existing workflows using precomputed LD matrices are fully backward-compatible and require no changes.

2. Entropy-based weight integration (optional)

Introduced two new optional parameters — use_entropy and residual_correlation — that allow users to incorporate trait heterogeneity when integrating evidence weights across outcomes. Both default to FALSE/NULL and do not alter existing behavior. Additionally, removed the legacy dependency adjustment from the variant selection step.

3. Bug fixes

  • Fixed an issue in get_robust_colocalization that could produce incorrect results under certain input configurations.
  • Resolved edge-case errors in the boosting update and output formatting steps.
  • Updated and expanded unit tests to cover the new functionality and the above fixes.

@xueweic xueweic changed the title Add X_ref parameter: accept reference panel genotype matrix instead of LD Important update in Apr 2026 Apr 22, 2026
@xueweic xueweic merged commit 062efb8 into StatFunGen:main Apr 22, 2026
5 checks passed
@xueweic xueweic added the enhancement New feature or request label Apr 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant